﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TMScore_Subsets
{
    /// <summary>
    /// A class that represents a single document
    /// </summary>
    public class Document
    {


        public string m_Name { get; set; } // doc name
        public Dictionary<int, int> Fingerprints { get; set; }  // the document fingerprints, i.e. hash value of some textual content. 
        // the key is the fingerprint, and the value is its total appearences
        public DateTime time; // the time the mail sent
        public List<string> receivers;  // List of receivers
        public double TMScore { get; set; } //TMscoure of the document



        public Document(string name,  List<string> rec , DateTime date, double tmscore, Dictionary<int, int> Fingerprints) //Dictionary<fileName ,tuple <all text, list of recivers,date>
        {
            this.m_Name = name;
            this.TMScore = tmscore;
            this.receivers = new List<string>(rec);
            this.Fingerprints = new Dictionary<int, int>(Fingerprints);
            this.time = date;
        }


       



    }

}
